<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/5/23
 * Time: 15:17
 */

namespace Home\Model;

class LibraryModel extends BaseModel
{
    // 数据表名（不包含表前缀）
    protected $tableName        =   'library';

    /**
     * 获取主界面信息
     * @return Array()
    **/
    public function libraryInfo()
    {
        return $this->where("library_id = 1")->find();
    }
}
